100
|
Is is possible to toggle the selection of dates, such the first click selects the date, the second click unselects it, and so on

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight;
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.AllowToggleSelectKey = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
var_Calendar.AllowSelectDate = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
var_Calendar.SingleSel = false;
|
99
|
How can I change the background color for selected dates in the calendar panel, so always is the same no matter if the control loses the focus

exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelBackColorUnFocus,exschedule1.get_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelBackColor));
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelForeColorUnFocus,exschedule1.get_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelForeColor));
|
98
|
Is it possible to specify a different background color for the calendar panel

exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarBackColor,Color.FromArgb(240,240,240));
|
97
|
How do I change the control's border, using your EBN files

exschedule1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exschedule1.Appearance = (exontrol.EXSCHEDULELib.AppearanceEnum)0x1000000;
|
96
|
Is it possible to prevent showing the calendar at all

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter;
exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exNoScroll;
|
95
|
How can I change the visual aspect only for a specified event

exschedule1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("6/20/2012 10:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).BodyBackColor32 = 0x1000000;
var_Events.Add(Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 15:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.set_DefaultEventPadding(exontrol.EXSCHEDULELib.PaddingEdgeEnum.exPaddingAll,2);
|
94
|
How can I change the visual aspect of the events

exschedule1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exschedule1.set_Background32(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleCreateEventBackColor,0x1000000);
exschedule1.set_Background32(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleUpdateEventsBackColor,0x1000000);
exschedule1.BodyEventBackColor32 = 0x1000000;
|
93
|
Is there any event to let me know once an edit has been edited

// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
private void exschedule1_LayoutEndChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation)
{
System.Diagnostics.Debug.Print( "End exScheduleEditEvent(15)" );
System.Diagnostics.Debug.Print( Operation.ToString() );
}
//this.exschedule1.LayoutEndChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutEndChangingEventHandler(this.exschedule1_LayoutEndChanging);
// LayoutStartChanging event - Occurs when the control's layout is about to be changed.
private void exschedule1_LayoutStartChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation)
{
System.Diagnostics.Debug.Print( "Start exScheduleEditEvent(15)" );
System.Diagnostics.Debug.Print( Operation.ToString() );
}
//this.exschedule1.LayoutStartChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutStartChangingEventHandler(this.exschedule1_LayoutStartChanging);
exschedule1.AllowEditEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowSelectEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.DefaultEventLongLabel = "";
exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel;
exschedule1.VisualDesign = "gBFLBWIgBAEHhEJAEGg7IAUHXI6g0MAAmhULikUCIgg6sh4AgRCJ0Ui8HjKTj6AADACAxRDAMgBQKAAzQFAYZhpBaERiHEZoJhUAIIRZGMQxXAcMQvDSKQRhEAoJDgN" +
"4kQKNYyQYAAYhuGaPBhASQJUhkMocR7HMygBJkUABEyYaFHdIFCQ1DykJzkCbqAgkMYeDRHQxTdQsEgpDQMIRpGA5eb+XgAV4/cTSYKQahLMizJYGUYLHgma5tTTWcTV" +
"PLVFRrJiTYRlKTJOjCCQ0ATdUyzPAeCRzQ6QJ5kUZ6CgSUpGRjkhY6agkF6VVxCNg2BT8KzxRoAKhiGpKHpaCaUQLWMB5PaoAR8fLYAA2B6bDhGaa2XAAFr2VZkWSUBB" +
"pnSWo8kYIg1D6NBuGyIhYnCXx5kuHZcjUAAOAcDxbF2L5mmKPIOl2Ox7l2XJVGAfRMh8CABiyYpgi8E5pFSRp4DQHBkiKOQug4ChpmqPRoiAco6HePxJDUXQAASCYpHA" +
"WpUHmGxmlwdphlwQJWncMQzFwXknCodJcEcXRiHYUIYCwAByhyaB1lAeReDgTgAHwU44GoHB3lUJgFi2BgYCYGYGgkFx2C2ax+lARI9FKA5YHiMR2guHBHlUPIChuBRJ" +
"k4XIjiUKg8GsY5ohkZoQh2dJ6AYZxfFkHZoF2E5gkQOBPgMIJJHwS5WJmMRvhINwRHKAAdCieZyHEHgxEAaQYkcQZUHIGRUnQJIuAGEAxAgTYclGFBRAMCgQhgTZnEII" +
"Q0AweIdCYZYGgaIZbDaTJbiKaJKDaDojmkChGhKI5bDoHoWD+aIqDiPImmmSh2h6J5qAqBoi3yeghjCIwpnIeoqiqapKjaLormsCouh+IwrBqVo2i2a4KlqHItY0Fo+i" +
"+bALAaF4riuOmPjCLILCaSYxCmOpwh6MotAsRoWjMC5LDqUo1m0GxSlaNgtktlgxiuWx2mKL4tnMbpHjiboKB6ZY5m6G42muOBuluJpvjObwbkqLYxG4a5CnWOIvDubp" +
"oiyKZrG6fo3HACxWg6OwwDsYoriUGwMCMCY0iqOgnBKQ4wnsQwUFgcR8FaSJGE+fBzBqMAxkqZwikichLlKFxAEAgIA==";
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
var_Events.Add(Convert.ToDateTime("6/20/2012 10:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
var_Events.Add(Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 15:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
exschedule1.set_DefaultEventPadding(exontrol.EXSCHEDULELib.PaddingEdgeEnum.exPaddingAll,2);
|
92
|
I've noticed that the background of the event while editing is transparent. Is it possible to change it

exschedule1.AllowEditEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowSelectEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.DefaultEventLongLabel = "";
exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel;
exschedule1.VisualDesign = "gBFLBWIgBAEHhEJAEGg41hhjNcHhgAE0KhcTiYREEHDMMgRCJ0Ti0ShEGhiAADACAxRDAMgBQKAAzQFAYbhsGCGAAGEZBQgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlS" +
"TJcQjKKEUQTFiXIyAKL5CgkBYJBrNM5SFIAEQSKA0TDOQ5To5jEBzIxIIjaJhoNoJChNU4TIDELphECdYqUCq6cp2XgAJhYNhWHYgAIjM60LRtIAELq2bpvXAACCXHal" +
"azsAA+bxvK67cAAd5/YBgOBAAaGC4NQ7EAANHC8Mw3DgAGLkORZHigACzS7MMxzIACQx3HqfaAABK6HomS5NUTTNR0TLNAy3HqWZpsOYZBima4lRTHNxxTBMIz3Bp+YI" +
"4DgC5FnOCx6jkXY5DcSxlkOGxujMWo6DaCwFhOKzgFeOw1lAAoXjuXpvngAAQBAgI";
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
var_Events.Add(Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 15:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleEditEventBackColor,Color.FromArgb(255,0,0));
|
91
|
How can I edit the Event.LongLabel property of the Event rather than ExtraLabel

exschedule1.AllowEditEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowSelectEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.DefaultEventLongLabel = "";
exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel;
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
var_Events.Add(Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 15:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Editable = exontrol.EXSCHEDULELib.EditableCaptionEnum.exEditLongLabel;
|
90
|
Is it possible to edit the event at a single click rather than double click

exschedule1.AllowEditEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowSelectEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 15:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
|
89
|
How can I prevent editing the events
exschedule1.AllowEditEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
|
88
|
How can I prevent selecting the events
exschedule1.AllowSelectEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
|
87
|
The event gets blue when selected. It is possible to draw a frame instead

exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThicker | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid;
|
86
|
Is there an event that fires when the user selects a different day/week/month
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
private void exschedule1_LayoutEndChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation)
{
System.Diagnostics.Debug.Print( Operation.ToString() );
System.Diagnostics.Debug.Print( "should be on exCalendarSelectionChange(1)" );
}
//this.exschedule1.LayoutEndChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutEndChangingEventHandler(this.exschedule1_LayoutEndChanging);
// LayoutStartChanging event - Occurs when the control's layout is about to be changed.
private void exschedule1_LayoutStartChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation)
{
System.Diagnostics.Debug.Print( Operation.ToString() );
System.Diagnostics.Debug.Print( "should be on exCalendarSelectionChange(1)" );
}
//this.exschedule1.LayoutStartChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutStartChangingEventHandler(this.exschedule1_LayoutStartChanging);
|
85
|
Can I use and display just the Caption of the Event

exschedule1.DefaultEventLongLabel = "<%=%5%>";
exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel;
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Caption = "caption 1";
var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Caption = "caption 2";
var_Events.Add(Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 15:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Caption = "caption 3";
|
84
|
How can I use the Caption property of the Event

exschedule1.DefaultEventLongLabel = "<%=%256%><br><b><%=%5%>";
exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel;
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Caption = "caption 1";
exontrol.EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Event.LongLabel = "";
var_Event.ExtraLabel = "<%=%5%>";
var_Event.Caption = "caption 2";
exontrol.EXSCHEDULELib.Event var_Event1 = var_Events.Add(Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 15:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Event1.LongLabel = "<%=%256%><br><b><%=%5%><br><fgcolor=808080>another text";
var_Event1.Caption = "caption 3";
|
83
|
Is it possible to display a view of appointments with more than one person

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.DisplayGroupingButton = true;
exschedule1.ShowGroupingEvents = true;
exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups;
exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Mihai");
var_Group.EventBackColor = Color.FromArgb(255,0,0);
var_Group.HeaderForeColor = var_Group.EventBackColor;
var_Group.Visible = true;
var_Group.Title = var_Group.Caption;
exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Dave");
var_Group1.EventBackColor = Color.FromArgb(0,255,0);
var_Group1.HeaderForeColor = var_Group1.EventBackColor;
var_Group1.Visible = true;
var_Group1.Title = var_Group1.Caption;
exontrol.EXSCHEDULELib.Group var_Group2 = var_Groups.Add(3,"Enrike");
var_Group2.EventBackColor = Color.FromArgb(128,128,255);
var_Group2.HeaderForeColor = var_Group2.EventBackColor;
var_Group2.Visible = true;
var_Group2.Title = var_Group2.Caption;
exschedule1.DefaultEventLongLabel = "<%=%256%><br><%=%263%>";
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/20/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1;
var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2;
var_Events.Add(Convert.ToDateTime("6/20/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 15:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 3;
exschedule1.EndUpdate();
|
82
|
How can I prevent selecting more dates in the schedule view
exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exNoScroll;
exschedule1.AllowMoveSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.Calendar.SingleSel = true;
|
81
|
How can I get ride of the control's scroll bars

exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exNoScroll;
exschedule1.AllowMoveSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
|
80
|
I am hiding the Calendar section of the control, the question is how can I select another date in the scheduler

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter;
exschedule1.Calendar.Selection = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
|
79
|
How can I add an event to indicate the Easter Sunday

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = "month(value) in (3,4)";
var_Calendar.HighlightEvent.BackColor = Color.FromArgb(128,128,128);
var_Calendar.ShowYearScroll = true;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelBackColorUnFocus,exschedule1.get_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelBackColor));
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColorUnFocus,exschedule1.get_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelBackColor));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
exontrol.EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("6/12/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2012 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Event.AllDayEvent = true;
var_Event.Repetitive = "not(month(value) in (3,4,5)) ? 0 : ( floor(value)=(2:=floor(date(dateS('3/1/' + year(value)) + ((1:=(((255 - 11 * (year(value) " +
"mod 19)) - 21) mod 30) + 21) + (=:1 > 48 ? -1 : 0) + 6 - ((year(value) + int(year(value) / 4)) + =:1 + (=:1 > 48 ? -1 : 0) + 1) " +
"mod 7)))))";
var_Event.LongLabel = "EASTER of <%=year(%1)%> falls in<br><%=%1%>";
var_Event.ShortLabel = var_Event.LongLabel;
|
78
|
I need a repetitive event happens every n-days, and stops after m-times. Can your control handle this

exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThick | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid;
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = Convert.ToDateTime("1/1/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "month(value) = 6";
var_Calendar.HighlightEvent.FontSize = 10;
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
exontrol.EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("6/12/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2012 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Event.Repetitive = "(value >= (0:=#6/1/2012#)) and ( (value - =:0) mod (1:=5) = 0) and (value-=:0) < (3*=:1)";
var_Event.Selected = true;
|
77
|
How can I add a repetitive event to occur every n days

exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThick | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid;
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = "month(value) = 6";
var_Calendar.HighlightEvent.FontSize = 10;
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
exontrol.EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("6/12/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2012 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Event.Repetitive = "value >= #6/1/2012# and ( (value - #6/1/2012#) mod 5 = 0)";
var_Event.Selected = true;
|
76
|
I am using the AutoHide option, just wondering if there is any event that notifies once the calendar panel shows or hides
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
private void exschedule1_LayoutEndChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation)
{
System.Diagnostics.Debug.Print( "End exLayoutCalendarAutoHide(7)" );
System.Diagnostics.Debug.Print( Operation.ToString() );
}
//this.exschedule1.LayoutEndChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutEndChangingEventHandler(this.exschedule1_LayoutEndChanging);
// LayoutStartChanging event - Occurs when the control's layout is about to be changed.
private void exschedule1_LayoutStartChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation)
{
System.Diagnostics.Debug.Print( "Start exLayoutCalendarAutoHide(7)" );
System.Diagnostics.Debug.Print( Operation.ToString() );
}
//this.exschedule1.LayoutStartChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutStartChangingEventHandler(this.exschedule1_LayoutStartChanging);
exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide;
|
75
|
Is it possible to display the same event on multiple days

exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThick | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid;
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = Convert.ToDateTime("1/1/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "month(value) = 6";
var_Calendar.HighlightEvent.FontSize = 10;
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
exontrol.EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("6/12/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2012 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Event.Repetitive = "value in (#6/8/2012#,#6/11/2012#,#6/20/2012#)";
var_Event.Selected = true;
|
74
|
How can I change the selection background color so it is the same if the control loses the focus

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.Selection = Convert.ToDateTime("6/12/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.HighlightEvent.FontSize = 10;
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
exschedule1.Events.Add(Convert.ToDateTime("6/12/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2012 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelBackColorUnFocus,exschedule1.get_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exCalendarSelBackColor));
|
73
|
How can I add a repetitive event so it occurs every Monday

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = "month(value) = 6";
exontrol.EXSCHEDULELib.Highlight var_Highlight = var_Calendar.HighlightEvent;
var_Highlight.FontSize = 10;
var_Highlight.BackColor = Color.FromArgb(128,128,128);
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("6/12/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2012 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Repetitive = "weekday(value) = 1";
|
72
|
How can I select the current month

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = "month(value) = month(date(``))";
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
|
71
|
How can I select the next two days

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = "(value - int(date(``))) in (1,2,0)";
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
|
70
|
How can I select the last two days

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = "(int(date(``)) - value) in (1,2,0)";
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
|
69
|
How can I select the current week
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = "(int((yearday(value) -1- ((7-weekday(value - yearday(value) + 1)) mod 7) )/7) = int((yearday(date(``))-1)/7))";
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
|
68
|
Is it possible to highlight or change the background or foreground color for the today date in the schedule panel

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday;
var_Calendar.Selection = "month(value) = month(date(``)) and (int((yearday(value) -1- ((7-weekday(value - yearday(value) + 1)) mod 7) )/7) = int((yearday" +
"(date(``))-1)/7))";
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240));
|
67
|
How can I display no working/non-working days in the control

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.NonworkingDays = 0;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday;
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
|
66
|
The schedule displays a blue border around the selected dates. How can I get ride of that

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.ShowNonMonthDays = false;
var_Calendar.Selection = Convert.ToDateTime("6/18/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
|
65
|
The calendar panel shows days that belongs to another month. How can I display just the days within the current month

exschedule1.Calendar.ShowNonMonthDays = false;
|
64
|
Is it possible to show the non-working days with a solid color instead

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = Convert.ToDateTime("6/14/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "value in (#6/14/2012#,#6/15/2012#,#6/16/2012#,#6/17/2012#)";
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday;
var_Calendar.NonworkingDaysPattern = exontrol.EXSCHEDULELib.PatternEnum.exPatternSolid;
var_Calendar.NonworkingDaysColor = Color.FromArgb(224,224,224);
|
63
|
How can I display the now-working days in the schedule panel too

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = Convert.ToDateTime("6/14/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "value in (#6/14/2012#,#6/15/2012#,#6/16/2012#,#6/17/2012#)";
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday;
exschedule1.NonworkingTimes.Add(1.ToString(),"00:00","00:00",-1);
|
62
|
How can I make the control read-only

exschedule1.AllowCreateEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.AllowMoveEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.AllowResizeEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.AllowMoveSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowSelectEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow;
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.Calendar.Selection = "value in (#05/24/2012#,#05/25/2012#,#05/26/2012#)";
exschedule1.Events.Add(Convert.ToDateTime("5/25/2012 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/25/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
|
61
|
How can I check/uncheck a group, so it is visible after I add it

exschedule1.DisplayGroupingButton = true;
exschedule1.ShowGroupingEvents = true;
exschedule1.Groups.Add(1,"Pro").Visible = true;
|
60
|
The drop down button to show groups is not visible, even I set the DisplayGroupingButton. What Can I do

exschedule1.DisplayGroupingButton = true;
exschedule1.ShowGroupingEvents = true;
|
59
|
It is possible to translate "All" to "Todos" or to something else

exschedule1.set_Description(exontrol.EXSCHEDULELib.DescriptionTypeEnum.exGroupBarAll,"(todos)");
exschedule1.DisplayGroupingButton = true;
exschedule1.ShowGroupingEvents = true;
exschedule1.Groups.Add(1,"Pro");
|
58
|
How can I remove the control's scroll bars

exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exNoScroll;
|
57
|
How can I select a month

exschedule1.Calendar.Selection = "month(value) = month(date(``))";
|
56
|
How can I display two or more dates in the scheduler (Method 2)

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "value in ( #5/24/2012#, #5/25/2012# )";
|
55
|
How can I display two or more dates in the scheduler (Method 1)

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = "0";
var_Calendar.set_SelectDate(Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
var_Calendar.set_SelectDate(Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
|
54
|
How can I define a different color for nonworking part for different days

exschedule1.BeginUpdate();
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = Convert.ToDateTime("5/21/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "(value >= #05/21/2012#) and (value <= #05/25/2012#)";
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday;
exontrol.EXSCHEDULELib.NonworkingPatterns var_NonworkingPatterns = exschedule1.NonworkingPatterns;
var_NonworkingPatterns.Add(1234,exontrol.EXSCHEDULELib.PatternEnum.exPatternBDiagonal).Pattern.Color = Color.FromArgb(255,0,0);
var_NonworkingPatterns.Add(1235,exontrol.EXSCHEDULELib.PatternEnum.exPatternBDiagonal).Pattern.Color = Color.FromArgb(0,255,0);
var_NonworkingPatterns.Add(1236,exontrol.EXSCHEDULELib.PatternEnum.exPatternBDiagonal).Pattern.Color = Color.FromArgb(0,0,255);
exontrol.EXSCHEDULELib.NonworkingPattern var_NonworkingPattern = var_NonworkingPatterns.Add(1237,exontrol.EXSCHEDULELib.PatternEnum.exPatternFrameThick | exontrol.EXSCHEDULELib.PatternEnum.exPatternCross);
var_NonworkingPattern.Pattern.Color = Color.FromArgb(128,128,128);
var_NonworkingPattern.Pattern.FrameColor = Color.FromArgb(64,64,64);
var_NonworkingPattern.BackColor = Color.FromArgb(255,255,0);
exontrol.EXSCHEDULELib.NonworkingTimes var_NonworkingTimes = exschedule1.NonworkingTimes;
var_NonworkingTimes.Add("weekday(value) in (0,1)","10:00","11:45",1234);
var_NonworkingTimes.Add("weekday(value) = 2","00:00","08:45",1235);
var_NonworkingTimes.Add("weekday(value) = 2","15:00","24:00",1235);
var_NonworkingTimes.Add("weekday(value) in (3,5)","12:15","13:00",1236);
var_NonworkingTimes.Add("weekday(value) = 4","13:30","15:00",1237);
exschedule1.ShowNonworkingTime = exontrol.EXSCHEDULELib.ShowNonworkingTimeEnum.exShowNonworkingTimeSemi;
exschedule1.EndUpdate();
|
53
|
Is it possible to show both nonworking and the events, using semi-transparent color

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "value in (#05/24/2012#,#05/25/2012#,#05/26/2012#)";
exontrol.EXSCHEDULELib.NonworkingPatterns var_NonworkingPatterns = exschedule1.NonworkingPatterns;
var_NonworkingPatterns.Add(1234,exontrol.EXSCHEDULELib.PatternEnum.exPatternBrick);
exontrol.EXSCHEDULELib.NonworkingPattern var_NonworkingPattern = var_NonworkingPatterns.Add(9871,exontrol.EXSCHEDULELib.PatternEnum.exPatternFrameThick | exontrol.EXSCHEDULELib.PatternEnum.exPatternYard);
var_NonworkingPattern.BackColor = Color.FromArgb(255,0,0);
exontrol.EXSCHEDULELib.NonworkingPattern var_NonworkingPattern1 = var_NonworkingPatterns.Add(9872,exontrol.EXSCHEDULELib.PatternEnum.exPatternFrameThick | exontrol.EXSCHEDULELib.PatternEnum.exPatternYard);
var_NonworkingPattern1.BackColor = Color.FromArgb(255,255,0);
exontrol.EXSCHEDULELib.NonworkingTimes var_NonworkingTimes = exschedule1.NonworkingTimes;
var_NonworkingTimes.Add("1","00:00","08:45",1234);
var_NonworkingTimes.Add("weekday(value) = 5","10:00","11:45",9871);
var_NonworkingTimes.Add("weekday(value) = 4","12:00","12:35",9872);
exschedule1.Events.Add(Convert.ToDateTime("5/25/2012 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/25/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.ShowNonworkingTime = exontrol.EXSCHEDULELib.ShowNonworkingTimeEnum.exShowNonworkingTimeSemi;
|
52
|
Is it possible to show the nonworking part behind, on the back

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "value in (#05/24/2012#,#05/25/2012#,#05/26/2012#)";
exontrol.EXSCHEDULELib.NonworkingPatterns var_NonworkingPatterns = exschedule1.NonworkingPatterns;
var_NonworkingPatterns.Add(1234,exontrol.EXSCHEDULELib.PatternEnum.exPatternBrick);
exontrol.EXSCHEDULELib.NonworkingPattern var_NonworkingPattern = var_NonworkingPatterns.Add(9871,exontrol.EXSCHEDULELib.PatternEnum.exPatternFrameThick | exontrol.EXSCHEDULELib.PatternEnum.exPatternYard);
var_NonworkingPattern.BackColor = Color.FromArgb(255,0,0);
exontrol.EXSCHEDULELib.NonworkingPattern var_NonworkingPattern1 = var_NonworkingPatterns.Add(9872,exontrol.EXSCHEDULELib.PatternEnum.exPatternFrameThick | exontrol.EXSCHEDULELib.PatternEnum.exPatternYard);
var_NonworkingPattern1.BackColor = Color.FromArgb(255,255,0);
exontrol.EXSCHEDULELib.NonworkingTimes var_NonworkingTimes = exschedule1.NonworkingTimes;
var_NonworkingTimes.Add("1","00:00","08:45",1234);
var_NonworkingTimes.Add("weekday(value) = 5","10:00","11:45",9871);
var_NonworkingTimes.Add("weekday(value) = 4","12:00","12:35",9872);
exschedule1.Events.Add(Convert.ToDateTime("5/25/2012 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/25/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.ShowNonworkingTime = exontrol.EXSCHEDULELib.ShowNonworkingTimeEnum.exShowNonworkingTimeBack;
|
51
|
Can you explain how the non working day patterns work and how to define
for different days of the week

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
var_Calendar.Selection = "value in (#05/24/2012#,#05/25/2012#,#05/26/2012#)";
exontrol.EXSCHEDULELib.NonworkingPatterns var_NonworkingPatterns = exschedule1.NonworkingPatterns;
var_NonworkingPatterns.Add(1234,exontrol.EXSCHEDULELib.PatternEnum.exPatternBrick);
exontrol.EXSCHEDULELib.NonworkingPattern var_NonworkingPattern = var_NonworkingPatterns.Add(9871,exontrol.EXSCHEDULELib.PatternEnum.exPatternFrameThick | exontrol.EXSCHEDULELib.PatternEnum.exPatternYard);
var_NonworkingPattern.BackColor = Color.FromArgb(255,0,0);
exontrol.EXSCHEDULELib.NonworkingPattern var_NonworkingPattern1 = var_NonworkingPatterns.Add(9872,exontrol.EXSCHEDULELib.PatternEnum.exPatternFrameThick | exontrol.EXSCHEDULELib.PatternEnum.exPatternYard);
var_NonworkingPattern1.BackColor = Color.FromArgb(255,255,0);
exontrol.EXSCHEDULELib.NonworkingTimes var_NonworkingTimes = exschedule1.NonworkingTimes;
var_NonworkingTimes.Add("1","00:00","08:45",1234);
var_NonworkingTimes.Add("weekday(value) = 5","10:00","11:45",9871);
var_NonworkingTimes.Add("weekday(value) = 4","12:00","12:35",9872);
|
50
|
How can I add a nonworking time

exontrol.EXSCHEDULELib.NonworkingTimes var_NonworkingTimes = exschedule1.NonworkingTimes;
var_NonworkingTimes.Add("1","00:00","08:45",-1);
var_NonworkingTimes.Add("weekday(value) = weekday(date(``))","10:00","11:15",-1);
|
49
|
How can I get the event from the cursor

// MouseMove event - Occurs when the user moves the mouse.
private void exschedule1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
System.Diagnostics.Debug.Print( "Calendar.DateFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.Calendar.get_DateFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "AnchorFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_AnchorFromPoint(-1,-1) );
System.Diagnostics.Debug.Print( "DateTimeFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_DateTimeFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "TimeFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_TimeFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "TimeScaleFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_TimeScaleFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "GroupFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_GroupFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "GroupHeaderFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_GroupHeaderFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "MarkZoneFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_MarkZoneFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "NonworkingTimeFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_NonworkingTimeFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "MarkTimeFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_MarkTimeFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "EventFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_EventFromPoint(-1,-1).ToString() );
System.Diagnostics.Debug.Print( "PictureFromPoint" );
System.Diagnostics.Debug.Print( exschedule1.get_PictureFromPoint(-1,-1) );
}
//this.exschedule1.MouseMoveEvent += new exontrol.EXSCHEDULELib.exg2antt.MouseMoveEventHandler(this.exschedule1_MouseMoveEvent);
exschedule1.BeginUpdate();
exschedule1.AllowMultiDaysEvent = false;
exschedule1.AllowCreateEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exCTRLKey | exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowMoveEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exCTRLKey | exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowMoveTimeScale = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowMoveSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowSelectEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exCTRLKey | exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.AllowResizeEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exLeftClick;
exschedule1.Calendar.MaxMonthY = 6;
exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThicker | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid;
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.TimeScaleLabel = "";
var_MarkTime.Label = "<fgcolor=FF0000>Time: <b><%hh%>:<%nn%> <%AM/PM%></b><br>Date: <b><%loc_sdate%>";
var_MarkTime.LabelAlign = exontrol.EXSCHEDULELib.ContentAlignmentEnum.exBottomRight;
var_MarkTime.Line = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThicker | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesDash;
var_MarkTime.BodyEventBackColor = Color.FromArgb(128,0,0);
var_MarkTime.BodyEventForeColor = Color.FromArgb(255,255,255);
var_MarkTime.Movable = true;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
48
|
How can I show the timer only in the chart section

exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.Label = " <font ;12>timer</font> ";
var_MarkTime.LabelAlign = exontrol.EXSCHEDULELib.ContentAlignmentEnum.exBottomRight;
var_MarkTime.TimeScaleLabel = "";
var_MarkTime.TimeScaleLine = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
|
47
|
How can I let the user to move the timer from the cursor

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.TimeScaleLabel = "";
var_MarkTime.Label = "<fgcolor=FF0000>Time: <b><%hh%>:<%nn%> <%AM/PM%></b><br>Date: <b><%loc_sdate%>";
var_MarkTime.LabelAlign = exontrol.EXSCHEDULELib.ContentAlignmentEnum.exBottomRight;
var_MarkTime.Line = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThicker | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesDash;
var_MarkTime.BodyEventBackColor = Color.FromArgb(128,0,0);
var_MarkTime.BodyEventForeColor = Color.FromArgb(255,255,255);
var_MarkTime.Movable = true;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
46
|
How can I show the timer only in the time scale

exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.TimeScaleLabel = " <font ;12>timer</font> ";
var_MarkTime.Line = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
|
45
|
I have seen some screen shots and noticed, that you can place images on a timer. How can I do that

exschedule1.BeginUpdate();
exschedule1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exschedule1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.StatusEventSize = 8;
exschedule1.StatusEventColor = Color.FromArgb(255,255,255);
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.Label = "<img>pic1</img>";
var_MarkTime.TimeScaleLabel = "<fgcolor=FF0000><b><%hh%>:<%nn%> <%AM/PM%><br><c><img>1</img>";
var_MarkTime.LabelAlign = exontrol.EXSCHEDULELib.ContentAlignmentEnum.exMiddleRight;
var_MarkTime.Line = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThicker | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesDash;
var_MarkTime.Movable = true;
var_MarkTime.StatusEventPattern.Type = exontrol.EXSCHEDULELib.PatternEnum.exPatternShadow;
var_MarkTime.StatusEventPattern.Color = Color.FromArgb(255,0,0);
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
44
|
How can I change the timer's color

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTimes var_MarkTimes = exschedule1.MarkTimes;
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = var_MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.Movable = true;
var_MarkTime.LineColor = Color.FromArgb(0,0,255);
var_MarkTime.StatusEventBackColor = Color.FromArgb(0,0,255);
var_MarkTime.TimeScaleLineColor = Color.FromArgb(0,0,255);
var_MarkTime.TimeScaleLabel = "<fgcolor=0000FF><b><%hh%>:<%nn%> <%AM/PM%>";
exschedule1.EndUpdate();
|
43
|
Can I add multiple timers with different colors

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTimes var_MarkTimes = exschedule1.MarkTimes;
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = var_MarkTimes.Add("timer1",Convert.ToDateTime("5/24/2012 9:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.Movable = true;
var_MarkTime.StatusEventBackColor = Color.FromArgb(255,0,0);
exontrol.EXSCHEDULELib.MarkTime var_MarkTime1 = var_MarkTimes.Add("timer2",Convert.ToDateTime("5/24/2012 13:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime1.Movable = true;
var_MarkTime1.LineColor = Color.FromArgb(0,255,0);
var_MarkTime1.StatusEventBackColor = var_MarkTime1.LineColor;
var_MarkTime1.TimeScaleLineColor = var_MarkTime1.LineColor;
var_MarkTime1.TimeScaleLabel = "<fgcolor=00FF00><b><%hh%>:<%nn%> <%AM/PM%>";
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
42
|
How can I specify a different color for the status of the event that intersects with the timer

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.TimeScaleLabelAlign = exontrol.EXSCHEDULELib.ContentAlignmentEnum.exTopCenter;
var_MarkTime.Line = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThick | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesHDot4;
var_MarkTime.TimeScaleLine = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesHDot4;
var_MarkTime.StatusEventBackColor = Color.FromArgb(255,0,0);
var_MarkTime.Movable = true;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
41
|
How can the chart displays the events from the timer with a different color

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.TimeScaleLabel = "";
var_MarkTime.Label = "<fgcolor=FF0000>Time: <b><%hh%>:<%nn%> <%AM/PM%></b><br>Date: <b><%loc_sdate%>";
var_MarkTime.LabelAlign = exontrol.EXSCHEDULELib.ContentAlignmentEnum.exBottomRight;
var_MarkTime.Line = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThicker | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesDash;
var_MarkTime.BodyEventBackColor = Color.FromArgb(128,0,0);
var_MarkTime.BodyEventForeColor = Color.FromArgb(255,255,255);
var_MarkTime.Movable = true;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
40
|
Is it possible to display the timer's label on the chart, instead time scales

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.MarkTime var_MarkTime = exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_MarkTime.TimeScaleLabel = "";
var_MarkTime.Label = "<fgcolor=FF0000>Time: <b><%hh%>:<%nn%> <%AM/PM%></b><br>Date: <b><%loc_sdate%>";
var_MarkTime.LabelAlign = exontrol.EXSCHEDULELib.ContentAlignmentEnum.exBottomRight;
var_MarkTime.Line = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesThicker | exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesDash;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
39
|
How can I add a timer to the scheduler

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.MarkTimes.Add("timer",Convert.ToDateTime("5/24/2012 11:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
38
|
Is it possible to define the small increment to 5 minutes

exschedule1.DayEndTime = "10:00";
exschedule1.TimeScales[0].MinorTimeRuler = "00:05";
|
37
|
How can I change the time format to 24 hours to be displayed in the control's time scale

exontrol.EXSCHEDULELib.TimeScale var_TimeScale = exschedule1.TimeScales[0];
var_TimeScale.MajorTimeLabel = "<%hh%>:<%nn%>";
var_TimeScale.Width = 32;
|
36
|
How can I change the time zone

exschedule1.DayEndTime = "13:00";
exontrol.EXSCHEDULELib.TimeScale var_TimeScale = exschedule1.TimeScales[0];
var_TimeScale.TimeZone = "+03:00";
var_TimeScale.Caption = var_TimeScale.TimeZone;
|
35
|
Is it possible to add more time scales

exschedule1.DayEndTime = "13:00";
exontrol.EXSCHEDULELib.TimeScale var_TimeScale = exschedule1.TimeScales.Add("+03:00");
var_TimeScale.AlignLeft = false;
var_TimeScale.Caption = "EST <b>+03";
|
34
|
How can I get any event to be notified if a picture or icon is clicked (Method 2)

// PictureClick event - Occurs when the user clicks a picture within an event ( Event.Pictures/ExtraPictures ).
private void exschedule1_PictureClick(object sender,string Key)
{
System.Diagnostics.Debug.Print( Key.ToString() );
}
//this.exschedule1.PictureClick += new exontrol.EXSCHEDULELib.exg2antt.PictureClickEventHandler(this.exschedule1_PictureClick);
exschedule1.BeginUpdate();
exschedule1.ShowSelectEvent = false;
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXSCHEDULELib.ExPictures var_ExPictures = exschedule1.Pictures;
var_ExPictures.Add("pic1","c:\\exontrol\\images\\card.png");
var_ExPictures.Add("pic2","c:\\exontrol\\images\\diary.png");
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Pictures = "pic1/pic2";
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Pictures = "1,2/3";
var_Events.Add(Convert.ToDateTime("5/24/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ExtraPictures = "pic2/1";
exschedule1.EndUpdate();
|
33
|
How can I display a tooltip for an anchor element, for instance

// MouseMove event - Occurs when the user moves the mouse.
private void exschedule1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
string s = exschedule1.get_AnchorFromPoint(-1,-1);
exschedule1.ShowToolTip(s.ToString(),"info","","+16",null);
}
//this.exschedule1.MouseMoveEvent += new exontrol.EXSCHEDULELib.exg2antt.MouseMoveEventHandler(this.exschedule1_MouseMoveEvent);
exschedule1.BeginUpdate();
exschedule1.ShowSelectEvent = false;
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ExtraLabel = "<a remove>remove</a>";
var_Events.Add(Convert.ToDateTime("5/24/2012 13:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
32
|
Is it possible to prevent selecting events
exschedule1.BeginUpdate();
exschedule1.ShowSelectEvent = false;
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Selected = true;
var_Events.Add(Convert.ToDateTime("5/24/2012 13:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
31
|
How can I get any event to be notified if a picture or icon is clicked (Method 1)

// AnchorClick event - Occurs when an anchor element is clicked.
private void exschedule1_AnchorClick(object sender,string AnchorID,string Options)
{
System.Diagnostics.Debug.Print( AnchorID.ToString() );
}
//this.exschedule1.AnchorClick += new exontrol.EXSCHEDULELib.exg2antt.AnchorClickEventHandler(this.exschedule1_AnchorClick);
exschedule1.BeginUpdate();
exschedule1.ShowSelectEvent = false;
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXSCHEDULELib.ExPictures var_ExPictures = exschedule1.Pictures;
var_ExPictures.Add("pic1","c:\\exontrol\\images\\card.png");
var_ExPictures.Add("pic2","c:\\exontrol\\images\\diary.png");
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ExtraLabel = "<a pic1><img>pic1:32</img></a>";
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ExtraLabel = "<a pic2><img>pic2:48</img></a>";
var_Events.Add(Convert.ToDateTime("5/24/2012 13:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).LongLabel = "Start: <%=%1%><br>End: <%=%2%><br><br>Icon: <a 1><img>1</img></a> - <a 2><img>2</img></a>";
exschedule1.EndUpdate();
|
30
|
How can I display a picture or an icon to an event

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXSCHEDULELib.ExPictures var_ExPictures = exschedule1.Pictures;
var_ExPictures.Add("pic1","c:\\exontrol\\images\\card.png");
var_ExPictures.Add("pic2","c:\\exontrol\\images\\diary.png");
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ExtraLabel = "<img>pic1:32</img>";
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ExtraLabel = "<img>pic2:48</img>";
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Pictures = "1/2,3/pic1";
exontrol.EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Event.ExtraPictures = "1/2";
var_Event.Pictures = "1,pic1,2,pic2/3";
exschedule1.EndUpdate();
|
29
|
Is it possible to display the group's caption or ID on the event's label

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups;
exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1");
var_Group.Visible = true;
var_Group.EventBackColor = Color.FromArgb(128,128,128);
var_Group.Title = "1'st Group";
exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2");
var_Group1.Visible = true;
var_Group1.EventBackColor = Color.FromArgb(255,0,0);
var_Group1.Title = "2'nd Group";
exschedule1.DefaultEventLongLabel = "<%=%256%><br>Group's Caption: <b><%=%262%></b><br>Group's Title: <b><%=%263%></b>";
exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2;
var_Events.Add(Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1;
exschedule1.EndUpdate();
|
28
|
How can I show the events from different groups using the same color

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.DisplayGroupingButton = true;
exschedule1.ShowGroupingEvents = true;
exschedule1.ApplyGroupingColors = false;
exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups;
exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1");
var_Group.Visible = true;
var_Group.EventBackColor = Color.FromArgb(128,128,128);
var_Group.Title = "1'st Group";
exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2");
var_Group1.Visible = true;
var_Group1.EventBackColor = Color.FromArgb(255,0,0);
var_Group1.Title = "2'nd Group";
exschedule1.DefaultEventLongLabel = "<%=%256%><br>Group's Caption: <b><%=%262%></b><br>Group's Title: <b><%=%263%></b>";
exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2;
var_Events.Add(Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1;
exschedule1.EndUpdate();
|
27
|
Is it possible to hide the grid lines in the calendar panel

exschedule1.Calendar.ShowGridLines = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines;
|
26
|
How can I control the number of months displayed on the calendar pane
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.MaxMonthX = 2;
var_Calendar.MaxMonthY = 2;
|
25
|
I'm currently evaluating your eXSchedule product and i'm trying to have the header display the month according to local settings. How can I do that (Method 2)

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday;
var_Calendar.MonthNames = "J-A F-E M-A A-P M-A J-U J-L A-U S-P O-C N-V D-C";
var_Calendar.WeekDays = "Du Lu Ma Mi Jo Vi Si";
var_Calendar.TodayCaption = "A z i";
|
24
|
I'm currently evaluating your eXSchedule product and i'm trying to have the header display the month according to local settings. How can I do that (Method 1)

exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.FirstWeekDay = var_Calendar.LocFirstWeekDay;
var_Calendar.MonthNames = var_Calendar.LocMonthNames;
var_Calendar.WeekDays = var_Calendar.LocWeekDays;
var_Calendar.AMPM = var_Calendar.LocAMPM;
|
23
|
How can I show the events grouped

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.DisplayGroupingButton = true;
exschedule1.ShowGroupingEvents = true;
exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups;
exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1");
var_Group.Visible = true;
var_Group.EventBackColor = Color.FromArgb(128,128,128);
var_Group.HeaderBackColor = var_Group.EventBackColor;
exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2");
var_Group1.Visible = true;
var_Group1.EventBackColor = Color.FromArgb(255,0,0);
var_Group1.HeaderBackColor = var_Group1.EventBackColor;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2;
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1;
exschedule1.EndUpdate();
|
22
|
How can I show 2 or more days in the scheduler

exschedule1.BeginUpdate();
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar;
var_Calendar.Selection = "0";
var_Calendar.set_SelectDate(Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
var_Calendar.set_SelectDate(Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
exschedule1.EndUpdate();
|
21
|
Is it possible to change the first week day

exschedule1.Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday;
|
20
|
How can I define the new starting / ending points of the day

exschedule1.DayStartTime = "07:30";
exschedule1.DayEndTime = "12:45";
|
19
|
Is it possible to change the label to be displayed when user moves the events

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.UpdateEventsLabel = "Start: <%=%1%><br>End: <%=%2%>";
exschedule1.UpdateEventsLabelAlign = exontrol.EXSCHEDULELib.ContentAlignmentEnum.exMiddleCenter;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
18
|
How can I change the default tooltip when adding new events

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.DefaultEventTooltip = "Start: <%=%1%><br>End: <%=%2%>";
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
17
|
How can I change the default label when adding new events

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.CreateEventLabel = "Start: <%=%1%><br>End: <%=%2%>";
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
16
|
How can I change the default label when adding new events

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.DefaultEventLongLabel = "Start: <%=%1%><br>End: <%=%2%>";
exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
15
|
How can I programatically add events to the control

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
14
|
How can I hide the status part of a specific event

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).ShowStatus = false;
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
13
|
Is it possible to change the status color for a specific event

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).StatusColor = Color.FromArgb(255,0,0);
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
12
|
Is it possible to change the background color for a specific event

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).BodyBackColor = Color.FromArgb(255,0,0);
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
11
|
Can I change the size of the status to be larger

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.StatusEventSize = 8;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
10
|
I do not need a status, can I hide it

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.ShowStatusEvent = false;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
9
|
Is it possible to change the status's default background color

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.StatusEventColor = Color.FromArgb(255,0,0);
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
8
|
How can I change the visual appearance of the Events (Method 2)

exschedule1.BeginUpdate();
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.VisualDesign = "gBFLBWIgBAEHhEJAEGg55hAvCcHAkIbD/i0JE0KhYnjQDFEaAQDhEMAAIhAPhBYKA6KhyMJjNZiMJyEA2EAxAUIk0HlEHlUsl0wmU0GYgGcig87AE9AE/lsvmMzEAym" +
"8BA==";
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
7
|
How can I change the visual appearance of the Events (Method 1)

exschedule1.BeginUpdate();
exschedule1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exschedule1.BodyEventBackColor32 = 0x1000000;
exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events;
var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exschedule1.EndUpdate();
|
6
|
How can I show the scheduler panel only, so no Calendar panel is shown

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter;
|
5
|
May I display the calendar in the right side of the control

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels;
|
4
|
Is it possible to disable resizing the vertical splitter

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exDisableSplitter | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight;
|
3
|
How can I show the Calendar panel only

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight;
|
2
|
Is there an AutoHide option for the Calendar panel

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide;
|
1
|
How can I hide the Calendar panel

exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter;
|